package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 转次数卡记录对象 web_user_card_recharge_transition
 * 
 * @author wsliupan@126.com
 * @date 2021-06-28
 */
@ApiModel("转次数卡记录对象")
public class WebUserCardRechargeTransition extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 门店ID */
    @Excel(name = "门店ID")
    @ApiModelProperty(value = "门店ID" )
    @NotNull(message = "门店ID 不能为空")
    private Long deptId;

    @TableField(exist = false)
    @Excel(name = "门店")
    private String deptName;

    private Long rechargeId;

    @TableField(exist = false)
    private String rechargeName;

    /** 服务id */
    @Excel(name = "服务id")
    @ApiModelProperty(value = "服务id" )
    @NotNull(message = "服务id 不能为空")
    private Long timeId;

    /** 卡名称 */
    @Excel(name = "充值卡名称")
    @ApiModelProperty(value = "卡名称" )
    @NotNull(message = "卡名称 不能为空")
    private String timeName;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID" )
    @NotNull(message = "用户ID 不能为空")
    private Long userId;

    @TableField(exist = false)
    @Excel(name = "用户昵称")
    private String nickname;

    @TableField(exist = false)
    @Excel(name = "用户姓名")
    private String realname;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    @ApiModelProperty(value = "剩余金额" )
    @NotNull(message = "剩余金额 不能为空")
    private BigDecimal money;

    /** 卡金额 */
    @Excel(name = "卡金额")
    @ApiModelProperty(value = "卡金额" , hidden = true )
    private BigDecimal totalMoney;

    /** 转换的次数 */
    @Excel(name = "转换的次数")
    @ApiModelProperty(value = "转换的次数" , hidden = true )
    private BigDecimal timeCount;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注" , hidden = true )
    private String commend;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setTimeId(Long timeId) 
    {
        this.timeId = timeId;
    }

    public Long getTimeId() 
    {
        return timeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setTotalMoney(BigDecimal totalMoney) 
    {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getTotalMoney() 
    {
        return totalMoney;
    }
    public void setTimeCount(BigDecimal timeCount) 
    {
        this.timeCount = timeCount;
    }

    public BigDecimal getTimeCount() 
    {
        return timeCount;
    }
    public void setCommend(String commend) 
    {
        this.commend = commend;
    }

    public String getCommend() 
    {
        return commend;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getRechargeId() {
        return rechargeId;
    }

    public void setRechargeId(Long rechargeId) {
        this.rechargeId = rechargeId;
    }

    public String getRechargeName() {
        return rechargeName;
    }

    public void setRechargeName(String rechargeName) {
        this.rechargeName = rechargeName;
    }

    public String getTimeName() {
        return timeName;
    }

    public void setTimeName(String timeName) {
        this.timeName = timeName;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
}
